package net.passClass;

import model.hospital.Patient;

import java.util.ArrayList;

public class PassPatient extends PassData{
    public PassPatient(boolean flag, ArrayList<Patient> patients , String message) {
        super(flag, message);
        this.setData(patients);
    }

    public PassPatient() {
    }

    public ArrayList<Patient> getData() {
        return (ArrayList<Patient>) super.getData();
    }
}
